//Author：TaozhouchuanSun Mar 22 01:48:04 CST 2020
package com.jic.manager.entity.vo.request;

import com.jic.conf.request.base.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = "请求参数")
public class CmsTemplateVariableRequest extends BasePage {
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "主键") 
    @ApiModelProperty(notes = "主键")
    private Long id;

    // @NotEmpty(message = "模板编号") 
    @ApiModelProperty(notes = "模板编号")
    private Integer templateId;

    // @NotEmpty(message = "表单属性名") 
    @ApiModelProperty(notes = "表单属性名")
    private String name;

    // @NotEmpty(message = "输入Label") 
    @ApiModelProperty(notes = "输入Label")
    private String labelName;

    // @NotEmpty(message = "数据类型：1：文本，2：日期，3：图片上传组件，4：图片上传带热区组件，5：下拉选择组件") 
    @ApiModelProperty(notes = "数据类型：1：文本，2：日期，3：图片上传组件，4：图片上传带热区组件，5：下拉选择组件")
    private Integer dataType;

    // @NotEmpty(message = "是否可以为空") 
    @ApiModelProperty(notes = "是否可以为空")
    private String canNull;

    // @NotEmpty(message = "填写说明") 
    @ApiModelProperty(notes = "填写说明")
    private String description;

    // @NotEmpty(message = "") 
    @ApiModelProperty(notes = "")
    private String defaultVal;

    // @NotEmpty(message = "数据校验方法") 
    @ApiModelProperty(notes = "数据校验方法")
    private String checkmethod;

    // @NotEmpty(message = "是否删除：0不删除， 1删除 ") 
    @ApiModelProperty(notes = "是否删除：0不删除， 1删除 ")
    private Integer deleteFlag;

    // @NotEmpty(message = "创建时间") 
    @ApiModelProperty(notes = "创建时间")
    private Date createTime;

    // @NotEmpty(message = "更新时间") 
    @ApiModelProperty(notes = "更新时间")
    private Date updateTime;

    // @NotEmpty(message = "创建用户") 
    @ApiModelProperty(notes = "创建用户")
    private Long creator;

    // @NotEmpty(message = "更新用户") 
    @ApiModelProperty(notes = "更新用户")
    private Long updator;

}
